package cn.dakaqi.vo.response;

import lombok.Data;
import lombok.ToString;

/**
 * @author beliveli on 2016/6/17/0017
 */
@Data
@ToString
public class PinganResponseVo {
    private String name;
    private String insuranceNo;
    private String startDate;
    private String endDate;
    private String cardNum;

    public static PinganResponseVo build(String name,String insuranceNo,String startDate,String endDate,String cardNum){
        PinganResponseVo pinganResponseVo = new PinganResponseVo();
        pinganResponseVo.setCardNum(cardNum);
        pinganResponseVo.setEndDate(endDate);
        pinganResponseVo.setInsuranceNo(insuranceNo);
        pinganResponseVo.setName(name);
        pinganResponseVo.setStartDate(startDate);

        return pinganResponseVo;
    }
}
